package com.bosicloud.cmb.ibp.microplatform.commom.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties
public class ProjectInfoVO {

    @NotNull
    @NotBlank(message = "项目名称不能为空")
    String projectName;
    @NotNull
    @NotBlank(message = "项目编码不能为空")
    String projectNum;
    @NotNull
    @Min(1)
    Integer createUser;
}
